<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
	<title><ui:insert name="title">
            SmartSight
        </ui:insert></title>
	<h:outputStylesheet library="css" name="bootstrap.min.css" />
	<h:outputStylesheet library="css" name="bootstrap-theme.min.css" />
	<h:outputScript library="js" name="jquery-1.11.1.min.js" />
	<h:outputScript library="js" name="bootstrap.min.js" />
	<h:outputScript name="pt.js" library="js" />


	<script>
        $a = jQuery.noConflict();
        $a(document).ready(function() {
            var heightWindow = $a(window).height();
            var heightBody   = document.body.clientHeight;
            if(heightWindow > heightBody){
                $a("#footer").css('position', 'fixed');
                $a("#footer").css('bottom', '0');
            }                
        });
    </script>

</h:head>
<h:body>
	<div>
		<ui:insert name="nav_bar">
			<ui:include src="top_bar.xhtml" />
		</ui:insert>
	</div>
	<!-- 
	<div id="content">
		<ui:include src="barraProgresso.xhtml" />
		<ui:insert name="content"></ui:insert>
	</div> -->
	
	<div id="container"
		style="padding-top: 30px; margin-top: 90px; width: 100%;"
		role="container">
		<ui:insert name="corpo">
		</ui:insert>
	</div>
	<div id="footer"
		style="padding-top: 30px; margin-top: 90px; width: 100%; background-color: #EEEEEE;"
		role="footer">
		<ui:insert name="nav_footer">
			<ui:include src="footer.xhtml" />
		</ui:insert>
	</div>
</h:body>
</html>